import { ref } from "vue";
// 项目名称控制服务器地址
let fuwuqi = "xianxia";
// zerogms.com
const configs = {
  xianxia: {
    ZongIP: "http://192.168.0.121:8080",
    tuUrl: "http://192.168.0.121:8084",
    ObjName: "线下测试",
    EnglishName: "demo",
    LOGO: "/img/logo.png",
  },
  xianshang: {
    ZongIP: "http://208.87.200.70:8080",
    tuUrl: "http://208.87.200.70:8084",
    ObjName: "xianshang",
    EnglishName: "web-admin",
    LOGO: "/img/logo.png",
  },
};
const config = configs[fuwuqi];
const { ZongIP, tuUrl, ObjName, EnglishName, LOGO } = config;
// 请求地址
export { fuwuqi, ZongIP, tuUrl, ObjName, EnglishName, LOGO };
let obj = 1722441600000;
let today = new Date().getTime();
// 是否为深色模式
export const deepColour = false;
// 登录页配置
export const loginConfiguration = {
  showLogo: true, //是否logo
  showBasic: true, //是否展示运营信息
};

// 展示运营信息
export const basicInformation = {
  isTime: "2023-8-30", //时间
  company: "成都喵了个喵传媒文化有限公司", //公司,
  isWebsite: "", //网址
  filings: "川ICP备2023060188号-1", //备案
};
export function isBeforeAugustFirst() {
  return today > obj;
}

/*******这部分代码请慎重修改(建议别动)*******/
//超级管理员权限变量（默认不给超级管理员权限只有管理员登陆后再给管理员权限）
export const root = ref(false);
export const Breadcrumb = ref("");
